package org.ingeniart.siec.controller;

import javax.enterprise.inject.Model;
import javax.inject.Inject;

import org.ingeniart.siec.model.TipoCurso;
import org.ingeniart.siec.service.AbstracRegistration;
import org.ingeniart.siec.service.TipoCursoRegistration;

@Model
public class TipoCursoController extends AbstractController<TipoCurso> {

	
	@Inject
	private TipoCursoRegistration registration;
	
	private TipoCurso object;
	
	public TipoCursoController() {
		super(TipoCurso.class);
		// TODO Auto-generated constructor stub
	}

	@Override
	protected AbstracRegistration<TipoCurso> getRegistration() {		
		return registration;
	}

	@Override
	public TipoCurso getObject() {
		// TODO Auto-generated method stub
		return object;
	}

	@Override
	public void setObject(TipoCurso obClass) {
		// TODO Auto-generated method stub
		object = obClass;
	}
	
	
}
